import { initUrl } from '@/config/axios_config'

/*******************职位API************************ */
///rest/position/list 获取职位列表
export const getPositionList = data => initUrl(`/rest/position/list`, data, 'GET')

///rest/position/addItem 新增职位
export const addPosition = data => initUrl(`/rest/position/addItem`, data, 'POST')

///rest/position/editItem  修改职位
export const editPosition = data => initUrl(`/rest/position/editItem`, data, 'POST')

///rest/position/delete delete
export const deletePosition = data => initUrl(`/rest/position/delete`, data, 'POST')
